package ThreadDemo;

public class R2 {

    public static void main(String[] args) {
        Runnable r1 = new Runnable() {
            @Override
            public void run() {
                System.out.println("ssssss");
            }
        };
        Thread t1 = new Thread(r1);
        t1.start();
    }
}
